import request from '@/utils/request'
/** 首页*/
export function getTotalNum(data) {
  return request({
    url: '/ims/order/overview/orderTotal', method: 'post', data: data
  })
}
export function getOrderData(data) {
  return request({
    url: '/ims/order/overview/saleTrend', method: 'post', data: data
  })
}
export function getProductData(data) {
  return request({
    url: '/ims/order/overview/productTrend', method: 'post', data: data
  })
}
export function getPlatData(data) {
  return request({
    url: '/ims/order/overview/orderFrom', method: 'post', data: data
  })
}
export function getTypeData(data) {
  return request({
    url: '/ims/order/overview/sale/top5', method: 'post', data: data
  })
}
export function getProduceData(data) {
  return request({
    url: '/ims/order/overview/produceTrend', method: 'post', data: data
  })
}
export function getCustomerData(data) {
  return request({
    url: '/ims/order/overview/customer/top5', method: 'post', data: data
  })
}
